package com.xxxx.server.service;

import com.xxxx.server.mapper.DepartmentMapper;
import com.xxxx.server.pojo.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.pojo.ResBean;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhoubin
 * @since 2021-11-13
 */
public interface IDepartmentService extends IService<Department> {

 /**
 * 获取所有部门
 *
 * */
    List<Department> getDepartMent();

    ResBean addDept(Department department);

    ResBean delDept(Integer id);
}
